package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;
import org.springframework.stereotype.Service;

@Service
public interface DishService extends IService<Dish> {
    void saveWithFlavor(DishDto dishDto);

    R<DishDto> selectDishwithFlavor(Long id);

    R<String> updateDishWithFlavor(DishDto dto);
}
